CSS
/* ContentsArea
-------------------------- */
#contents {
    margin: 0 auto;
    padding: 10px 0 50px 0;
    width: 50%;
}
 
p {
    padding: 10px 0;
}
 
#open01,
#open02 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
}
 
.close_overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-indent: -9999px;
    position: fixed;
    background: #000;
    opacity: 0.8;
    z-index: 9998;
}
 
.modal_window {
    top: 50%;
    left: 50%;
    margin: -300px 0 0 -200px;
    width: 500px;
    height: 200px;
    text-align: center;
    display: block;
    background: #fff;
    position: absolute;
    z-index: 9999;
}
 
.modal_window h2 {
    margin-bottom: 20px;
    width: 500px;
    height: 50px;
    line-height: 45px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    /* text-indent: 15px; */
    background: #999;
}
 
.modal_window p {
    padding: 0 15px 15px 15px;
    font-size: 12px;
    line-height: 160%;
    text-align: left;
}
 
 
/* CSS3 ModalWindow SET
-------------------------- */
@-webkit-keyframes modalFadeIn {
    0% {opacity:0;display:block;}
    100% {opacity:1;}
}
 
div#modal div:target {
    -webkit-animation-name: modalFadeIn; 
    -webkit-animation-duration: 0s;
    -webkit-animation-iteration-count: 0;
    opacity: 1;
    display:block;
    top: 70%;
}